package com.yuncheng.oaApi.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuncheng.vo.CurrentUserVo;
import com.yuncheng.oaApi.vo.NkRsYsTpSqVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Description: 内控-预算调配申请
 * @Author: lhb
 * @Date: 2023-11-20
 * @Version: V1.0
 */
@Component
public interface NkRsYstpsqFlowMapper{

    Page<NkRsYsTpSqVo> flowJobPage(Page<NkRsYsTpSqVo> page,
                                   @Param("onlyCurrentUser") boolean onlyCurrentUser,
                                   @Param("user") CurrentUserVo user,
                                   @Param("spcyFlowVo") NkRsYsTpSqVo nkRsYsTpSqVo);

    Page<NkRsYsTpSqVo> flowJkPage(Page<NkRsYsTpSqVo> page,
                              @Param("onlyCurrentUser") boolean onlyCurrentUser,
                              @Param("user") CurrentUserVo user,
                              @Param("spcyFlowVo") NkRsYsTpSqVo nkRsYsTpSqVo);

    List<NkRsYsTpSqVo> flowJkList(
            @Param("onlyCurrentUser") boolean onlyCurrentUser,
            @Param("user") CurrentUserVo user,
            @Param("spcyFlowVo") NkRsYsTpSqVo nkRsYsTpSqVo);


    Page<NkRsYsTpSqVo> selectmyyb(Page<NkRsYsTpSqVo> page, @Param("spcyFlowVo") NkRsYsTpSqVo nkRsYsTpSqVo);

    Page<NkRsYsTpSqVo> myYbFlowPage(Page<NkRsYsTpSqVo> page,
                                @Param("onlyCurrentUser") boolean onlyCurrentUser,
                                @Param("user") CurrentUserVo user,
                                @Param("spcyFlowVo") NkRsYsTpSqVo nkRsYsTpSqVo);


}
